/*
 * mac_reg.h -- MAC Controller support.
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Copyright (C) 2010  Hangzhou C-SKY Microsystems co.,ltd.
 * Copyright (C) 2010  Hu Junshan (junshan_hu@c-sky.com)
 */

#ifndef _MAC_REG_H_
#define _MAC_REG_H_

#include <mach/gx6002_chipconfig.h>

#define GX6002MAC_DESC_PHYADDR       0x6C000400
#define GX6002MAC_REG_PHYADDR        0x68000000
//#define CKMAC_DESC_BASEADDR       ((volatile unsigned long *)0xfc000400)
//#define CKMAC_REG_BASEADDR        ((volatile unsigned long *)0xf8000000)
 
#define CSKYMAC_IRQBASE    2 

#endif /* _MAC_REG_H_ */
